package com.asiainfo.dacp.datastash.broker.core.vo;

import com.asiainfo.dacp.util.SimpleKey;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * Unit处理中的值对象
 *
 * @author MeiKefu
 * @date 2017-11-21
 */
@Data
@NoArgsConstructor
public class StashUnitProcess implements Serializable {

    private String unitProcId;//订单号

    private String unitCode;

    private String batchNo;

    private int unitPriority;

    private List<StashUnitTask> tasks;//所有的任务

    public StashUnitProcess(String unitProcId,String unitCode,String batchNo){
        this.unitProcId=unitProcId;
        this.batchNo=batchNo;
        this.unitCode=unitCode;
    }

}
